<?
session_start(); 

session_unset();
session_destroy();

	if(isset($_SESSION['gc4d']['logado'])) {
    echo "Erro ao tentar se deslogar!";
	}else{
    echo "<script language=\"JavaScript\">
              window.location = \"./\";
          </script>";
	}
?>